<?php
namespace dao;

use Medoo\Medoo;

class BaseDao extends Medoo {
    function __construct()
    {
        // Initialize
        $options = [
            'database_type' => 'mysql',
            'database_name' => DBNAME,
            'server' => HOST,
            'port' => PORT,
            'username' => USER,
            'password' => PASS,
            'prefix' => TABPREFIX
        ];
        parent::__construct($options);
    }
}

